package com.campus.entity;

import lombok.Data;

import java.util.Date;
import java.util.List;

@Data
public class CommentDetailDTO {
    private String commentId;
    private String postId;
    private String userId;
    private String parentId;
    private String replyToUserId;
    private Integer likesCount;
    private Integer repliesCount;
    private Boolean status;
    private Date createTime;
    private Date updateTime;
    private String content;
    private String images;
    
    // 回复列表
    private List<CommentDetailDTO> replies;
    
    // 用户信息
    private UserDetail user;
    
    @Data
    public static class UserDetail {
        private String userId;
        private String username;
        private String nickname;
        private String avatar;
    }
}